package edoc.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * EdocCategory entity. @author MyEclipse Persistence Tools
 */

public class EdocCategory implements java.io.Serializable {

	// Fields

	private Long id;
	private String name;
	private Set edocEntries = new HashSet(0);

	// Constructors

	/** default constructor */
	public EdocCategory() {
	}

	/** minimal constructor */
	public EdocCategory(String name) {
		this.name = name;
	}

	/** full constructor */
	public EdocCategory(String name, Set edocEntries) {
		this.name = name;
		this.edocEntries = edocEntries;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set getEdocEntries() {
		return this.edocEntries;
	}

	public void setEdocEntries(Set edocEntries) {
		this.edocEntries = edocEntries;
	}

}